//
//  XHRouter.h
//  XHRouter
//
//  Created by xinph on 2020/3/16.
//  Copyright © 2020 xinph. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XHRouterService.h"

@interface XHRouter : NSObject

/// 组件化中间件
/// @param target 调用者
/// @param callback 回执
+ (id)performTarget:(id<XHRouterService>)target callback:(id(^)(id))callback;

@end
